import java.util.Arrays;

public class TestMain {
    public static void main(String[] args) {
        Solution s = new Solution();

        int[] nums = {-4, -1, 0, 3, 10};

        System.out.println(Arrays.toString(s.sortedSquares(nums)));

        nums = new int[]{-7,-3,2,3,11};

        System.out.println(Arrays.toString(s.sortedSquares(nums)));

    }
}
